module.exports = (sequelize, Types) => {
    const Project = sequelize.define('Project', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        app: Types.INTEGER(11),
        app_version: Types.TEXT(8),
        project_name: Types.VARCHAR(64),
        target_data: Types.VARCHAR(128),
        data_in_page: Types.BIT(1),
        owner: Types.INTEGER(11),
        start_time: Types.DATETIME,
        end_time: Types.DATETIME,
        create_time: Types.DATETIME,
        members: Types.TEXT(1000),
        follows: Types.TEXT(1000),
        status: Types.INTEGER(11),
        members: Types.TEXT(1000),
    },{
        tableName:'project'
    });
    Project.sync();
    return Project;
};